using System;
using System.Collections.Generic;

namespace HISModels.Entities
{
	public class EpisodeDoctorRel
	{
	    public EpisodeDoctorRel()
		{
			this.Alergies = new List<Alergy>();
			this.Habits = new List<Habit>();
			this.MedicalFamilies = new List<MedicalFamily>();
			this.PhysicianNotes = new List<PhysicianNote>();
			this.ProblemLists = new List<ProblemList>();
			this.VitalSigns = new List<VitalSign>();
		}

		public int Id { get; set; }
		public Nullable<int> DoctorId { get; set; }
		public Nullable<System.DateTime> RecordTime { get; set; }
		public Nullable<int> RecordStatus { get; set; }
		public Nullable<int> EpisodeId { get; set; }
		public virtual ICollection<Alergy> Alergies { get; set; }
		public virtual ICollection<Habit> Habits { get; set; }
		public virtual ICollection<MedicalFamily> MedicalFamilies { get; set; }
        public virtual ICollection<MedicalHistories> MedicalHistories { get; set; }
        public virtual ICollection<MedicalOccupation> MedicalOccupation { get; set; }
        public virtual Episode Episode { get; set; }
		public virtual ICollection<PhysicianNote> PhysicianNotes { get; set; }
		public virtual ICollection<ProblemList> ProblemLists { get; set; }
		public virtual ICollection<VitalSign> VitalSigns { get; set; }
	}
}

